package com.example.demo.service;

import com.example.demo.exception.MyUncheckedException;
import com.example.demo.pojo.dto.QuestionDTO;
import com.example.demo.pojo.entity.QuestionBank;
import com.example.demo.pojo.entity.QuestionFile;

public interface IQuestionFileService {
    QuestionFile shiftQuestion(int questionId, int presentFileId, int goalFileId) throws MyUncheckedException;

    QuestionFile copyQuestion(int questionId, int presentFileId, int goalFileId) throws MyUncheckedException;

    int deleteQuestion(int questionId, int fileId) throws MyUncheckedException;

    int createQuestion(QuestionDTO questionDTO);

    QuestionBank updateQuestion(int questionId, QuestionDTO questionDTO);
}
